package cn.itsource.wechat.domain;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component  //可以注入
@ConfigurationProperties("pethome.wechat")
public class WechartProperties {
    private String tokenUrl;
    private String authorizationCodeUrl;
    private String userinfoUrl;
    private String refreshTokenUrl;
    private String appId;
    private String appSecrect;
    private String redirectUri;
}